/*
 * ============================================================================
 * Copyright Notice!
 * ----------------------------------------------------------------------------
 * This file contains proprietary and confidential information belonging to the
 * group of people involvled in developing this project.  Reproduction, disclosure 
 * or use without specific written authorization from project stake holders is 
 * prohibited. Please refer the readme.txt in project installation folder for more
 * specific contacts
 *
 * All rights reserved.
 * ============================================================================
 */
package edu.uwm.universitydb.model;

/**
 * Model class representing User
 * 
 * @author Shyam Nair
 */
public class User
{
    /** attribute representing userName */
    private final String mUserName;
    
    /** attribute representing role */
    private final Role mRole;
    
    /**
     * 
     * @param userName
     * @param role
     */
    public User(final String userName, final Role role)
    {
        mUserName = userName;
        mRole = role;
    }

    /**
     * @return Returns the mUserName.
     */
    public String getUserName()
    {
        return mUserName;
    }

    /**
     * @return Returns the mRole.
     */
    public Role getRole()
    {
        return mRole;
    }
}
/*
 * ============================================================================
 * Change History
 * ----------------------------------------------------------------------------
 * Apr 9, 2014   Shyam Nair
 * File created
 * ----------------------------------------------------------------------------
 */